package com.gxa.modules.model.entity.hospital;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 医院简介表
 * </p>
 *
 * @author lst
 * @since 2022-11-14 09:05:41
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_hospital")
@ApiModel(value = "Hospital对象", description = "医院简介表")
public class Hospital implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("标题")
    @TableField("name")
    private String name;

    @ApiModelProperty("医院简介")
    @TableField("introduction")
    private String introduction;

    @ApiModelProperty("医院名字")
    @TableField("hospital_name")
    private String hospitalName;


}
